datas = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
def mean(datas):
    return sum(datas) / len(datas)
def max(datas):
    max_num = datas[0]
    for i in datas[1:]:
        if i > max_num:
            max_num = i
    return max_num
def min(datas):
    min_num = datas[0]
    for i in datas[1:]:
        if i < min_num:
            min_num = i
    return min_num
def sum(datas):
    sum = 0
    for i in datas:
        sum = sum + i
    return sum
print(f'数据的 平均数: {mean(datas)},最大值: {max(datas)},最小值: {min(datas)},总和: {sum(datas)}')